﻿#ifndef LOGIN_H
#define LOGIN_H
//this is a single test
#include <QWidget>
#include "readersql.h"
#include"global.h"
#include"customwidget.h"
namespace Ui {
class Login;
}

class Login : public QWidget
{
    Q_OBJECT

public:
    explicit Login(QWidget *parent = nullptr);
    ~Login();
    bool credit;
    bool flag;
    bool On=false;
private slots:
     void on_btn_login_clicked();

     void on_btn_register_clicked();

     void on_minBtn_clicked();

     void on_closeBtn_clicked();

     void processRet();
signals:
     void sendLoginSuccess();
     void sendR();
private:
    Ui::Login *ui;
    ChangePassword * dig;
};

#endif // LOGIN_H
